package com.meixiang.fragment.momentsContentFragment;

import android.support.v4.app.Fragment;

import com.meixiang.R;
import com.meixiang.fragment.service.BaseViewPagerFragment;

/**
 * 作者：黑哥 on 2016/5/5 18:08
 */
public class FragmentSwitching extends BaseViewPagerFragment {
    @Override
    protected String[] getTitles() {
        return new String[]{"推荐","关注"};
    }

    @Override
    protected Fragment[] getFragments() {
        return new Fragment[]{new RecommendFragment(),new AttentionFragment()};
    }
    @Override
    protected int ColorStyle() {
        return R.color.magenta;
    }
}
